package com.xiaoshuidi.cloud.module.report.convert.finance;

import com.xiaoshuidi.cloud.module.report.controller.finance.vo.OwnerSumIncomeExportRespVO;
import com.xiaoshuidi.cloud.module.report.controller.finance.vo.OwnerSumIncomePageRespVO;
import com.xiaoshuidi.cloud.module.report.dal.DO.report.OwnerIncomeSummaryReportDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 权责收入 转换类
 */
@Mapper
public interface OwnerIncomeSummaryConvert {

    OwnerIncomeSummaryConvert INSTANCE = Mappers.getMapper(OwnerIncomeSummaryConvert.class);


    List<OwnerSumIncomePageRespVO> convertSumIncomeListForPage(List<OwnerIncomeSummaryReportDO> page);

    List<OwnerSumIncomeExportRespVO> convertSumIncomeListForExport(List<OwnerIncomeSummaryReportDO> page);

}
